﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace Base.Api.Admin.Filters
{
    public class TestAttribute : ActionFilterAttribute
    {
        private readonly IConfiguration _configuration;

        public TestAttribute(IConfiguration configuration)
        {
            _configuration = configuration;
        }

        public override void OnActionExecuting(ActionExecutingContext context)
        {
            var key = _configuration["JWT:Key"];
        }
    }

}
